//***********************************************************************
//	File:		Tesla.cpp
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************



#include "Tesla.h"
#include "../ParticleSystem/Emitter.h"
#include "Entity.h"

Tesla::Tesla(float posX, float posY, Entity* owner)
{
	SetDamage(25);
	//SetElectricEffect();
	//SetFinalSound();
	SetHasCollided(false); 
	//SetImage();
	//SetInitialSound();
	SetOwnerType(owner);
	SetPosition(SGD::Point{ posX, posY }); 
	SetRange(300); 
	SetRotation(owner->GetRotation());
	SetSize(SGD::Size{ 4, 4 });
	SetVelocity(SGD::Vector{ 0, -1});
	SetSpeed(300); 
	m_pTargetsHit.empty(); 
}

void Tesla::Update(float dt)
{
	//Final line of function
	Entity::Update(dt); 
}

void Tesla::Render()
{

}

void Tesla::HandleCollision(const IEntity* pOther)
{

}

void Tesla::HandleEvent()
{

}

SGD::Rectangle Tesla::GetRect() const
{
	return SGD::Rectangle{}; 
}

void Tesla::FindTarget()
{

}